﻿@using System.Diagnostics
@using Library
@using Library.Models
@model Ecommerce.Models.ProductViewModel

@{
    var modelCulture = ViewBag.ModelCulture as ProductCulture;
    Debug.Assert(modelCulture != null, "modelCulture != null");
}

<span class="price">@Model.PriceDisplay@Settings.DefaultCurrency</span>
@if (!string.IsNullOrWhiteSpace(Model.StrikethroughPriceDisplay))
{
    <span class="subprice">@Model.StrikethroughPriceDisplay@Settings.DefaultCurrency</span>
}
<p class="product-status text-uppercase">@NOWCulture.GetString(Model.Status.ToDisplayString())</p>
<p class="promotion-caption">@Html.Raw(modelCulture.PromotionCaption)</p>
<div class="bubble">
    @Html.Raw(modelCulture.PromotionDetails)
</div>
<div class="policies">
    @Html.Raw(modelCulture.Policies)
</div>